home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if isslideshowtimeout() and isautomode() then
- startslideshowtimer()
- go(the frame + 1)
- else
- go(the frame)
- end if
- end
-
- on wait t
- set wk to the ticks + (t * 60.0)
- repeat while wk > the ticks
- nothing()
- end repeat
- end
-
- on buttonaction sp
- set the visible of sprite sp to 0
- puppetSound("Laser.aif", 2)
- updateStage()
- wait(0.5)
- set the visible of sprite sp to 1
- puppetSound(0, 2)
- updateStage()
- end
-
- on buttonaction2 sp
- set the visible of sprite sp to 0
- updateStage()
- wait(1)
- set the visible of sprite sp to 1
- updateStage()
- end
-
- on mouseDown
- global pss
- set sp to the clickOn
- case sp of
- 2, 3, 4:
- setspeed(sp - 1)
- 6:
- buttonaction(sp)
- go(1, "menu")
- 7:
- buttonaction(sp)
- quit()
- 8:
- set the visible of sprite 5 to 1
- buttonaction2(sp)
- if pss = 3 then
- go("FIN3")
- else
- go("FIN2")
- end if
- 9:
- set the visible of sprite 5 to 1
- buttonaction2(sp)
- go(the frame + 1)
- 10:
- if the visible of sprite 5 = 0 then
- set the visible of sprite 5 to 1
- else
- set the visible of sprite 5 to 0
- end if
- end case
- end
-